import Vue from 'vue'
import Router from 'vue-router'
import EChart from '@/components/EChart'

import Demo from './demo'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/HelloWorld',
      name: 'HelloWorld',
      component: EChart
    },
    ...Demo.routes,
  ]
})
